package abstractdemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-04-03
 * Time: 10:52
 */
public abstract class Person {
    public  String race;
    //创建一个吃抽象的方法
    public abstract void eat();

    public abstract void run();

    public static void race(){
        System.out.println("抽象类中的 人种是 白人");
    }

}
